﻿/*CREATE TRIGGER [dbo].[Concesiones_DeletionTrigger] 
    ON [Concesiones] 
    AFTER DELETE 
AS 
SET NOCOUNT ON 
UPDATE [dbo].[Concesiones_Tombstone] 
    SET [DeletionDate] = GETUTCDATE() 
    FROM deleted 
    WHERE deleted.[ConcesionGuid] = [Concesiones_Tombstone].[ConcesionGuid] 
IF @@ROWCOUNT = 0 
BEGIN 
    INSERT INTO [dbo].[Concesiones_Tombstone] 
    ([ConcesionGuid], DeletionDate)
    SELECT [ConcesionGuid], GETUTCDATE()
    FROM deleted 
END*/